<!DOCTYPE html>
<html class="loading" lang="en" data-textdirection="">
<head>
	<script src="../js/jquery.min.js" type="text/javascript"></script>
<script src="../js/func.js?v=1.0" type="text/javascript"></script>
<script src="../js/jquery-ui-1.10.4.min.js" type="text/javascript"></script>
<script src="../js/jquery.serializejson.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
  <meta name="description" content="Modern admin is super flexible, powerful, clean &amp; modern responsive bootstrap 4 admin template with unlimited possibilities with bitcoin dashboard.">
  <meta name="keywords" content="admin template, modern admin template, dashboard template, flat admin template, responsive admin template, web app, crypto dashboard, bitcoin dashboard">
  <meta name="author" content="PIXINVENT">
<title>中国网络安全审查与认证区块链平台-查询结果</title>

  <link rel="apple-touch-icon" href="../images/ico/apple-icon-120.png">
  <link rel="shortcut icon" type="image/x-icon" href="../images/ico/favicon.ico">
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Quicksand:300,400,500,700"
  rel="stylesheet">
  <link href="https://maxcdn.icons8.com/fonts/line-awesome/1.1/css/line-awesome.min.css"
  rel="stylesheet">
  <!-- BEGIN VENDOR CSS-->
  <link rel="stylesheet" type="text/css" href="../css/vendors.css">
  <link rel="stylesheet" type="text/css" href="../vendors/js/gallery/photo-swipe/photoswipe.css">
  <link rel="stylesheet" type="text/css" href="../vendors/js/gallery/photo-swipe/default-skin/default-skin.css">
  <!-- END VENDOR CSS-->
  <!-- BEGIN MODERN CSS-->
  <link rel="stylesheet" type="text/css" href="../css/app.css">
  <!-- END MODERN CSS-->
  <!-- BEGIN Page Level CSS-->
  <link rel="stylesheet" type="text/css" href="../css/core/menu/menu-types/vertical-menu.css">
  <link rel="stylesheet" type="text/css" href="../css/core/colors/palette-gradient.css">
  <link rel="stylesheet" type="text/css" href="../css/pages/search.css">
  <link rel="stylesheet" type="text/css" href="../css/pages/gallery.css">
  
  <link rel="stylesheet" type="text/css" href="../vendors/css/tables/jsgrid/jsgrid-theme.min.css">
<link rel="stylesheet" type="text/css" href="../vendors/css/tables/jsgrid/jsgrid.min.css">
<!-- END VENDOR CSS-->
<!-- BEGIN MODERN CSS-->
<link rel="stylesheet" type="text/css" href="../css/app.css">
<!-- END MODERN CSS-->
<!-- BEGIN Page Level CSS-->
<link rel="stylesheet" type="text/css" href="../css/core/menu/menu-types/vertical-menu.css">
<link rel="stylesheet" type="text/css" href="../css/core/colors/palette-gradient.css">
  <link rel="stylesheet" type="text/css" href="../css/style.css">


<style type="text/css">
.glay_a{background:#fcfcfc!important;}
.jsgrid-grid-body{    overflow-y: auto;}
</style>
</head>
<body class="vertical-layout vertical-menu 2-columns   menu-expanded fixed-navbar"
data-open="click" data-menu="vertical-menu" data-col="2-columns">
  <!-- fixed-top-->
  <nav class="header-navbar navbar-expand-md navbar navbar-with-menu navbar-without-dd-arrow fixed-top navbar-semi-light bg-info navbar-shadow">
  <div class="navbar-wrapper">
    <div class="navbar-header">
      <ul class="nav navbar-nav flex-row">
        <li class="nav-item mobile-menu d-md-none mr-auto"><a class="nav-link nav-menu-main menu-toggle hidden-xs" href="#"><i class="ft-menu font-large-1" style="color:#fff;"></i></a></li>
        <li class="nav-item"> <a class="navbar-brand" href="index.html"> <img class="brand-logo" alt="modern admin logo" src="../images/logo/logo.png">
          <h3 class="brand-text" style="color:#fff!important;font-size:16px;">质量认证区块链平台</h3>
          </a> </li>
        <li class="nav-item d-md-none"> <a class="nav-link open-navbar-container" data-toggle="collapse" data-target="#navbar-mobile"><i class="la la-ellipsis-v" style="color:#fff;"></i></a> </li>
      </ul>
    </div>
    <div class="navbar-container content">
      <div class="collapse navbar-collapse" id="navbar-mobile">
        <ul class="nav navbar-nav mr-auto float-left">
          <li class="nav-item d-none d-md-block"><a class="nav-link nav-menu-main menu-toggle hidden-xs" href="#"><i class="ft-menu"></i></a></li>
          <li class="nav-item d-none d-md-block"><a class="nav-link nav-link-expand" href="#"><i class="ficon ft-maximize"></i></a></li>
  
          <li class="nav-item nav-search"><a class="nav-link nav-link-search" href="search-details.html"><i class="ficon ft-search"></i></a>
            <div class="search-input">
              <input class="input" type="text" placeholder="Explore Modern...">
            </div>
          </li>
        </ul>
        <ul class="nav navbar-nav float-right">
          <li class="dropdown dropdown-user nav-item"> <a class="dropdown-toggle nav-link dropdown-user-link" href="#" data-toggle="dropdown"> <span class="mr-1">您好, <span class="user-name text-bold-700" id="currentLogin">丁**</span> </span> <span class="avatar avatar-online"> <img src="../images/portrait/small/me.png" alt="avatar"><i></i></span> </a>
            <div class="dropdown-menu dropdown-menu-right"><a class="dropdown-item" href="#"><i class="ft-user"></i>个人信息</a> <a class="dropdown-item" href="#"><i class="ft-mail"></i> 个人信息</a> <a class="dropdown-item" href="#"><i class="ft-check-square"></i>个人信息</a> <a class="dropdown-item" href="#"><i class="ft-message-square"></i> 个人信息</a>
              <div class="dropdown-divider"></div>
                <script>
                    var unitt=Cookies.get("unittype");
                    var usert=Cookies.get("usertype");
                    var out="";
                    if(unitt=="1"){
                        out=out+"认证机构";
                    }
                    else if(unitt=="2"){
                        out=out+"检测检验机构";
                    }
                    else if(unitt=="3"){
                        out=out+"政府监管机构";
                    }
                    out=out+"的";
                    if(usert=="1"){
                        out=out+"业务员";
                    }
                    else if(usert=="2"){
                        out=out+"审核员";
                    }else if(usert=="3"){
                        out=out+"管理员";
                    }
                    $("#currentLogin").text(out);



                </script>
              <a class="dropdown-item" href="#" onclick="logout()"><i class="ft-power"></i> 退 出</a> </div>
          </li>
		  <script>
		  var token=Cookies.get("token");
						function logout(){
		var data1=JSON.stringify({"peers":["peer0.org1.example.com","peer0.org2.example.com","peer0.org3.example.com"],"fcn":"userLogout","args":[""]});			
        $.ajax({
            dataType:"json",
            type:"post",
			contentType: 'application/json',
			beforeSend: function(xhr) { 
								xhr.setRequestHeader("Authorization", "Bearer "+token);  
							},
			crossDomain: true,
            url:"http://47.105.220.31:4000/channels/mychannel/chaincodes/mycc",
            data:data1,
            eache: false,
            success: function (data) {
				console.log(data);
				if(data.success==true){
					Cookies.set("token","");
					window.location="login-simple.html";
				}
            },
            error: function () {

                return;
            }
        });
    
						
						}
					</script>
          <li class="dropdown dropdown-notification nav-item"> <a class="nav-link nav-link-label" href="#" data-toggle="dropdown"><i class="ficon ft-bell"></i> <span class="badge badge-pill badge-default badge-danger badge-default badge-up badge-glow">5</span> </a>
            <ul class="dropdown-menu dropdown-menu-media dropdown-menu-right">
              <li class="dropdown-menu-header">
                <h6 class="dropdown-header m-0"> <span class="grey darken-2">消息通知</span> </h6>
                <span class="notification-tag badge badge-default badge-danger float-right m-0">5</span> </li>
              <li class="scrollable-container media-list w-100"> <a href="javascript:void(0)">
                <div class="media">
                  <div class="media-left align-self-center" style="padding-right:0.4rem;"><i class="ft-file icon-bg-circle bg-cyan" style="font-size:16px; padding:0.4rem;font-weight:normal;"></i></div>
                  <div class="media-body">
                    <h6 class="media-heading">目前待审核的信息有5条</h6>
                     </div>
                </div>
                </a> <a href="javascript:void(0)">
                <div class="media">
                  <div class="media-left align-self-center" style="padding-right:0.4rem;"><i class="ft-file icon-bg-circle bg-cyan" style="font-size:16px; padding:0.4rem;font-weight:normal;"></i></div>
                  <div class="media-body">
                    <h6 class="media-heading red darken-1">姜**下载了一条证书</h6>
                    </div>
                </div>
                </a> <a href="javascript:void(0)">
                <div class="media">
                  <div class="media-left align-self-center" style="padding-right:0.4rem;"><i class="ft-file icon-bg-circle bg-cyan" style="font-size:16px; padding:0.4rem;font-weight:normal;"></i></div>
                  <div class="media-body">
                    <p class="notification-text font-small-3 text-muted">谭*下载了一条证书</p>
                    <small>
                    </small> </div>
                </div>
                </a> <a href="javascript:void(0)">
                <div class="media">
                  <div class="media-left align-self-center" style="padding-right:0.4rem;"><i class="ft-file icon-bg-circle bg-cyan" style="font-size:16px; padding:0.4rem;font-weight:normal;"></i></div>
                  <div class="media-body">
                    <h6 class="media-heading">张*更新了个人信息资料</h6>
                   </div>
                </div>
                </a> <a href="javascript:void(0)">
                <div class="media">
                  <div class="media-left align-self-center" style="padding-right:0.4rem;"><i class="ft-file icon-bg-circle bg-cyan" style="font-size:16px; padding:0.4rem;font-weight:normal;"></i></div>
                  <div class="media-body">
                    <h6 class="media-heading">高*新注册了个人资料</h6>
                   </div>
                </div>
                </a> </li>
              <li class="dropdown-menu-footer" style="font-size:12px;"><a class="dropdown-item text-muted text-center" href="javascript:void(0)" style="padding-top:10px;">查看所有消息通知</a></li>
            </ul>
          </li>
          <li class="dropdown dropdown-notification nav-item"> <a class="nav-link nav-link-label" href="#" data-toggle="dropdown"><i class="ficon ft-mail"> </i></a>
            <ul class="dropdown-menu dropdown-menu-media dropdown-menu-right">
              <li class="dropdown-menu-header">
                <h6 class="dropdown-header m-0"> <span class="grey darken-2">Messages</span> </h6>
                <span class="notification-tag badge badge-default badge-warning float-right m-0">4 New</span> </li>
              <li class="scrollable-container media-list w-100"> <a href="javascript:void(0)">
                <div class="media">
                  <div class="media-left"> <span class="avatar avatar-sm avatar-online rounded-circle"> <img src="../images/portrait/small/avatar-s-19.png" alt="avatar"><i></i></span> </div>
                  <div class="media-body">
                    <h6 class="media-heading">Margaret Govan</h6>
                    <p class="notification-text font-small-3 text-muted">I like your portfolio, let's start.</p>
                    <small>
                    <time class="media-meta text-muted" datetime="2015-06-11T18:29:20+08:00">Today</time>
                    </small> </div>
                </div>
                </a> <a href="javascript:void(0)">
                <div class="media">
                  <div class="media-left"> <span class="avatar avatar-sm avatar-busy rounded-circle"> <img src="../images/portrait/small/avatar-s-2.png" alt="avatar"><i></i></span> </div>
                  <div class="media-body">
                    <h6 class="media-heading">Bret Lezama</h6>
                    <p class="notification-text font-small-3 text-muted">I have seen your work, there is</p>
                    <small>
                    <time class="media-meta text-muted" datetime="2015-06-11T18:29:20+08:00">Tuesday</time>
                    </small> </div>
                </div>
                </a> <a href="javascript:void(0)">
                <div class="media">
                  <div class="media-left"> <span class="avatar avatar-sm avatar-online rounded-circle"> <img src="../images/portrait/small/avatar-s-3.png" alt="avatar"><i></i></span> </div>
                  <div class="media-body">
                    <h6 class="media-heading">Carie Berra</h6>
                    <p class="notification-text font-small-3 text-muted">Can we have call in this week ?</p>
                    <small>
                    <time class="media-meta text-muted" datetime="2015-06-11T18:29:20+08:00">Friday</time>
                    </small> </div>
                </div>
                </a> <a href="javascript:void(0)">
                <div class="media">
                  <div class="media-left"> <span class="avatar avatar-sm avatar-away rounded-circle"> <img src="../images/portrait/small/avatar-s-6.png" alt="avatar"><i></i></span> </div>
                  <div class="media-body">
                    <h6 class="media-heading">Eric Alsobrook</h6>
                    <p class="notification-text font-small-3 text-muted">We have project party this saturday.</p>
                    <small>
                    <time class="media-meta text-muted" datetime="2015-06-11T18:29:20+08:00">last month</time>
                    </small> </div>
                </div>
                </a> </li>
              <li class="dropdown-menu-footer"><a class="dropdown-item text-muted text-center" href="javascript:void(0)">Read all messages</a></li>
            </ul>
          </li>
        </ul>
      </div>
    </div>
  </div>
</nav>
   <!-- menu start -->
<div class="main-menu menu-fixed menu-dark menu-accordion    menu-shadow " id="menu" data-scroll-to-active="true">
    <div class="main-menu-content">
        <ul class="navigation navigation-main" id="main-menu-navigation" data-menu="menu-navigation" style="font-family:microsoft yahei;">
            <li class="nav-item open" id="userRev"><a href="toUserReview"><i class="la la-home"></i><span class="menu-title" data-i18n="nav.dash.main">用户审核</span></a></li>
            <!-- <li class=" nav-item"><a href="#"><i class="la la-television"></i><span class="menu-title" data-i18n="nav.templates.main">用户维护</span></a> -->
            <!-- <ul class="menu-content">          -->
            <!-- <li><a class="menu-item" href="revise-password.html" data-i18n="">密码修改</a> </li> -->
            <!-- <li><a class="menu-item" href="recover-password.html" data-i18n="">忘记密码</a> </li> -->
            <!-- </ul> -->
            <!-- </li> -->

            <li class="nav-item"><a href="#"><i class="la la-columns"></i><span class="menu-title" data-i18n="nav.page_layouts.main">证书查询</span></a>
                <ul class="menu-content">
                    <li><a class="menu-item" href="Certificate_download.html" data-i18n="">综合查询</a> </li>
                    <li><a class="menu-item" href="search-details.html" data-i18n="">条件查询</a> </li>
                </ul>
            </li>
            <li class=" nav-item jianguanjigou"><a href="#"><i class="la la-navicon"></i><span class="menu-title" data-i18n="nav.navbars.main">数据审核</span></a>
                <ul class="menu-content">
                    <li class="has-sub"><a class="menu-item renzhengAndshenheyuan" href="#" data-i18n="nav.navbars.nav_light">认证数据审核</a>
                        <ul class="menu-content">
                            <li><a class="menu-item" href="checkUploadApplyDataList.html" data-i18n=""> 证书申请资料审核</a> </li>
                            <li><a class="menu-item" href="checkUploadFileDataList.html" data-i18n="">文件审核资料审核</a> </li>
                            <li><a class="menu-item" href="checkUploadOnsiteDataList.html" data-i18n="">现场审核资料审核</a> </li>
                            <li><a class="menu-item" href="checkUploadCertificateDataList.html" data-i18n="">证书数据审核</a> </li>
                        </ul>
                    </li>

                    <li class="has-sub"><a class="menu-item jianceAndshenheyuan" href="" data-i18n="">检测检验数据审核</a>
                        <ul class="menu-content">
                            <li><a class="menu-item" href="checkDataList.html?type=5" data-i18n=""> 检测检验审核</a> </li>
                            <li><a class="menu-item" href="checkDataList.html?type=6" data-i18n="">试运行数据审核</a> </li>
                        </ul>
                    </li>
                </ul>
            </li>
            <li class=" nav-item jianguanjigou"><a href="#"><i class="la la-navicon"></i><span class="menu-title" data-i18n="nav.navbars.main">数据上传</span></a>
                <ul class="menu-content">
                    <li class="has-sub"><a class="menu-item renzhengAndyewuyuan" href="#" data-i18n="nav.navbars.nav_light">认证数据上传</a>
                        <ul class="menu-content">
                            <li><a class="menu-item" href="upload_Certificate_Application.html" data-i18n=""> 证书申请资料上传</a> </li>
                            <li><a class="menu-item" href="upload_Document_audit_Application.html" data-i18n="">文件审核资料上传</a> </li>
                            <li><a class="menu-item" href="upload_Site_audit.html" data-i18n="">现场审核资料上传</a> </li>
                            <li><a class="menu-item" href="upload_Certificate_data.html" data-i18n="">证书数据上传</a> </li>
                        </ul>
                    </li>

                    <li class="has-sub"><a class="menu-item jianceAndyewuyuan" href="" data-i18n="">检测检验数据上传</a>
                        <ul class="menu-content">
                            <li><a class="menu-item" href="upload_Detection.html" data-i18n=""> 检测检验上传</a> </li>
                            <li><a class="menu-item" href="upload_test_run.html" data-i18n="">试运行数据上传</a> </li>
                        </ul>
                    </li>
                </ul>
            </li>

            <li class="nav-item"><a href="#"><i class="la la-header"></i><span class="menu-title" data-i18n="nav.page_headers.main">平台监控</span></a>
                <ul class="menu-content">
                    <li><a class="menu-item" href="point_monitoring.html" data-i18n="">区块链状态监控</a> </li>
                    <li><a class="menu-item" href="block_monitoring.html" data-i18n="">区块信息监控</a> </li>
                    <li><a class="menu-item" href="toInformationStatic" data-i18n="">交易信息实时监控</a> </li>
                </ul>
            </li>

        </ul>
    </div>
</div>
  <div class="app-content content">
    <div class="content-wrapper">
      <div class="content-header row">
      <div class="content-header-left col-md-6 col-12 mb-2">
        <div class="row breadcrumbs-top">
          <div class="breadcrumb-wrapper col-12">
            <ol class="breadcrumb" style="font-family:microsoft yahei;">
              <li class="breadcrumb-item"><a href="/toindex">首页</a> </li>
              <li class="breadcrumb-item"><a href="">查询</a> </li>
              <li class="breadcrumb-item">证书查询 </li>
              
              
              
              
            </ol>
          </div>
        </div>
      </div>
    </div>
      <div class="content-body">
        <!-- Search form-->
        <section id="search-images" class="card overflow-hidden">
          <div class="card-header">
 <h4 class="card-title" id="horz-layout-icons" style="margin:20px 0 0 20px; font-family:microsoft yahei;">查询条件</h4>
          </div>
          <div class="card-content">
            <div class="card-body pb-0">
              <fieldset class="form-group position-relative mb-0">
                <input type="text" class="form-control form-control-xl input-xl" id="certificateId" placeholder="证书编号">
				<input type="text" class="form-control form-control-xl input-xl" id="unitID" placeholder="营业执照编号">
				<div class="row py-2">
                <div class="col-12 text-center">
                  <button onclick="queryCerts()" class="btn btn-primary btn-md" style="font-size:16px;padding-left:30px;padding-right:30px;"><i class="ft-search" style="color:#fff;margin-right:6px;"></i>点击查询</button>
                </div>
              </div>
              </fieldset>
            </div>
            <div id="search-nav" class="card-body">
              <ul class="nav nav-inline">
                <li class="nav-item">
                  <a class="nav-link" href="">证书信息</a>
                </li>
           
               
              </ul>
            </div>
            <section id="sorting-scenario">
        <div class="row">
          <div class="col-12">
            <div class="card">
              
              <div class="card-content collapse show">
                <div class="card-body card-dashboard "> 
                  <div id="ceshi" class="js-shorting jsgrid" style="position: relative; width: 100%;">
                   
                    <div class="jsgrid-grid-body" >
                      <table class="jsgrid-table" id="ban">
                        <tbody>
                           
                      
                          
                        </tbody>
                      </table>
					  
					  
                    </div>
                    
                   
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>
            
           
          </div>
          <!--/ Search Result-->
        </section>
        <!--/ Search form-->
      </div>
      
      
     <!-- 检测数据begin-->
 <div class="content-body">
        <!-- Search form-->
        <section id="search-images" class="card overflow-hidden">
          
          <div class="card-content">
            
            <div id="search-nav" class="card-body">
              <ul class="nav nav-inline">
                <li class="nav-item">
                  <a class="nav-link" href="">检测数据</a>
                </li>
           
               
              </ul>
            </div>
            <section id="sorting-scenario">
        <div class="row">
          <div class="col-12">
            <div class="card">
              
              <div class="card-content collapse show">
                <div class="card-body card-dashboard "> 
                  <div id="" class="js-shorting jsgrid" style="position: relative; width: 100%;">
                   
                    <div class="jsgrid-grid-body" >
                      <table class="jsgrid-table" id="ban1">
                        <tbody>                                                                                                                                                                                                             
  

 
                          
                        </tbody>
                      </table>
                    </div>
                    
                   
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>
            
           
          </div>
          <!--/ Search Result-->
        </section>
        <!--/ Search form-->
      </div>     
     <!-- 检测数据end--> 
     
     
     
     
        <!-- 文件审核数据begin-->
 <div class="content-body">
        <!-- Search form-->
        <section id="search-images" class="card overflow-hidden">
          
          <div class="card-content">
            
            <div id="search-nav" class="card-body">
              <ul class="nav nav-inline">
                <li class="nav-item">
                  <a class="nav-link" href="">试运行数据</a>
                </li>
           
               
              </ul>
            </div>
            <section id="sorting-scenario">
        <div class="row">
          <div class="col-12">
            <div class="card">
              
              <div class="card-content collapse show">
                <div class="card-body card-dashboard "> 
                  <div id="" class="js-shorting jsgrid" style="position: relative; width: 100%;">
                   
                    <div class="jsgrid-grid-body" >
                      <table class="jsgrid-table" id="ban2">
                        <tbody>
                        
                  
                        </tbody>
                      </table>
                    </div>
                    
                   
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>
            
           
          </div>
          <!--/ Search Result-->
        </section>
        <!--/ Search form-->
      </div>     
     <!-- 文件审核数据end-->  
     
     
    
         
         <!-- 现场审核资料begin-->
 <div class="content-body">
        <!-- Search form-->
        <!-- <section id="search-images" class="card overflow-hidden"> -->
          
          <!-- <div class="card-content"> -->
            
            <!-- <div id="search-nav" class="card-body"> -->
              <!-- <ul class="nav nav-inline"> -->
                <!-- <li class="nav-item"> -->
                  <!-- <a class="nav-link" href="search-website.html">现场审核资料</a> -->
                <!-- </li> -->
           
               
              <!-- </ul> -->
            <!-- </div> -->
            <!-- <section id="sorting-scenario"> -->
        <!-- <div class="row"> -->
          <!-- <div class="col-12"> -->
            <!-- <div class="card"> -->
              
              <!-- <div class="card-content collapse show"> -->
                <!-- <div class="card-body card-dashboard ">  -->
                  <!-- <div id="" class="js-shorting jsgrid" style="position: relative; width: 100%;"> -->
                   
                    <!-- <div class="jsgrid-grid-body" > -->
                      <!-- <table class="jsgrid-table"> -->
                        <!-- <tbody> -->
                        
                        
                  <!-- <tr class="jsgrid-header-row"> -->
 <!-- <td class="jsgrid-cell jsgrid-align-center glay_a" style="width:50px;"> -->
<!-- 委托人单位编号 -->


<!-- </td> <td class="jsgrid-cell jsgrid-align-center" style="width: 150px; text-align:left; padding-left:20px;"> -->
<!-- 45898877 -->
<!-- </td> -->
                            <!-- </tr>             -->
                          
                        
    <!-- <tr class="jsgrid-header-row"> -->
 <!-- <td class="jsgrid-cell jsgrid-align-center glay_a" style="width:50px;"> -->
<!-- 委托人单位名称 -->

<!-- </td> <td class="jsgrid-cell jsgrid-align-center" style="width: 150px; text-align:left; padding-left:20px;">中科启信 -->
<!-- </td> -->
                            <!-- </tr>      -->
                            
                            
                            
                            
                            
                            
                            
                           
                            
                            
                            
                                               
          <!-- <tr class="jsgrid-header-row"> -->
 <!-- <td class="jsgrid-cell jsgrid-align-center glay_a" style="width:50px;"> -->
<!-- 交易平台名称 -->


<!-- </td> <td class="jsgrid-cell jsgrid-align-center" style="width: 150px; text-align:left; padding-left:20px;">山东省青岛市黄岛区珠江路58号 -->
 <!-- </td> -->
                            <!-- </tr>                 -->
                        
                        
                          <!-- <tr class="jsgrid-header-row"> -->
 <!-- <td class="jsgrid-cell jsgrid-align-center glay_a" style="width:50px;">交易平台版本</td> -->
                           <!-- <td class="jsgrid-cell jsgrid-align-center" style="width: 150px; text-align:left; padding-left:20px;">05266367-4</td> -->
                            <!-- </tr> -->
                          
                          
              
     
         
  

 <!-- <tr class="jsgrid-header-row"> -->
 <!-- <td class="jsgrid-cell jsgrid-align-center glay_a" style="width:50px;"> -->
<!-- 认证机构编号 -->
<!-- </td> <td class="jsgrid-cell jsgrid-align-center" style="width: 150px; text-align:left; padding-left:20px;">中科启信 -->
<!-- </td> -->
                            <!-- </tr>      -->
                            
            
                        
    <!-- <tr class="jsgrid-header-row"> -->
 <!-- <td class="jsgrid-cell jsgrid-align-center glay_a" style="width:50px;"> -->
<!-- 认证机构名称 -->
<!-- </td> <td class="jsgrid-cell jsgrid-align-center" style="width: 150px; text-align:left; padding-left:20px;">中科启信 -->
<!-- </td> -->
                            <!-- </tr>      -->
                            
          <!-- <tr class="jsgrid-header-row"> -->
 <!-- <td class="jsgrid-cell jsgrid-align-center glay_a" style="width:50px;"> -->
<!-- 现场审核报告结论 -->
<!-- </td> <td class="jsgrid-cell jsgrid-align-center" style="width: 150px; text-align:left; padding-left:20px;">中科启信 -->
<!-- </td> -->
                            <!-- </tr>      -->
                                                  
    

                          
                            
                            
                            
                            
                           
                            
                            
                            
          
                                                          
                          
             
                                                    
        <!-- <tr class="jsgrid-header-row"> -->
 <!-- <td class="jsgrid-cell jsgrid-align-center glay_a" style="width:50px;"> -->
<!-- 审核时间 -->


<!-- </td> <td class="jsgrid-cell jsgrid-align-center" style="width: 150px; text-align:left; padding-left:20px;">V2.5 -->
<!-- </td> -->
                            <!-- </tr>       -->

                 
                          
     <!-- <tr class="jsgrid-header-row"> -->
 <!-- <td class="jsgrid-cell jsgrid-align-center glay_a" style="width:50px;"> -->
<!-- 审核人证件号码 -->


<!-- </td> <td class="jsgrid-cell jsgrid-align-center" style="width: 150px; text-align:left; padding-left:20px;">httdfafdafdaf -->
<!-- </td> -->
                            <!-- </tr>                       -->
                                   
 <!-- <tr class="jsgrid-header-row"> -->
 <!-- <td class="jsgrid-cell jsgrid-align-center glay_a" style="width:50px;"> -->
<!-- 审核人姓名 -->

<!-- </td> <td class="jsgrid-cell jsgrid-align-center" style="width: 150px; text-align:left; padding-left:20px;">http://www.baidu.com -->
<!-- </td> -->
                            <!-- </tr>   -->

 
                          
                        <!-- </tbody> -->
                      <!-- </table> -->
                    <!-- </div> -->
                    
                   
                  <!-- </div> -->
                <!-- </div> -->
              <!-- </div> -->
            <!-- </div> -->
          <!-- </div> -->
        <!-- </div> -->
      <!-- </section> -->
            
           
          <!-- </div> -->
          
        <!-- </section> -->
        <!--/ Search form-->
      </div>     
       <!-- 现场审核资料end-->   
      <script>

          function getUrlParam(name) {
              var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
              var r = window.location.search.substr(1).match(reg);  //匹配目标参数
              if (r != null) return unescape(r[2]); return null; //返回参数值
          }

          var xx = getUrlParam('param1');
          var yy = getUrlParam('param2');
          $("#certificateId").attr("value",xx)
          //alert(xx[1])
          $("#unitID").attr("value",yy)
          if(xx!=null && yy!=null)
            queryCerts()

					  function queryCerts(){
					  
					  
					  var token=Cookies.get('token');
				var certificateid=document.getElementById("certificateId").value;
				//alert(certificateid);
				var unitid=document.getElementById("unitID").value;
				if(certificateid==""||unitid==""){
					my_confirm("查询条件不能为空",function(){window.location.href="search-details.html"})
				    return
				}
				//alert(unitid);
				var url1="http://47.105.220.31:4000/channels/mychannel/chaincodes/mycc?peer=peer0.org1.example.com&fcn=queryCert&args=[\""+certificateid+"\",\""+unitid+"\"]";
				console.log(url1);
				$.ajax({
					dataType:"json",
					type:"get",
					url:"http://47.105.220.31:4000/channels/mychannel/chaincodes/mycc?peer=peer0.org1.example.com&fcn=queryCert&args=['"+certificateid+"','"+unitid+"']",
					contentType: 'application/json',
					beforeSend: function(xhr) { 
								xhr.setRequestHeader("Authorization", "Bearer "+token);  

							},
					crossDomain: true,
					eache: false,
					success: function (data) {

                        //获取机构用户名单
                        $.ajax({
                            dataType:"json",
                            type:"get",
                            crossDomain: true,
                            contentType: 'application/json',
                            url:"/getUnitUser",
                            beforeSend: function(xhr) {
                                xhr.setRequestHeader("Authorization", "Bearer "+token);
                            },
                            crossDomain: true,
                            contentType: 'application/json',
                            eache: false,
                            success: function (result) {
                                if (result.code==0){
                                    console.log("用户列表",result.nameList)
                                    var nameArr = new Array();
                                    for (let i = 0; i < result.nameList.length; i++) {
                                        nameArr[i]=result.nameList[i].idCard.split(";")[1]
                                        // nameArr[i]=result.nameList[i].username
                                    }
                                    var val = data
                                    console.log(val)
                                    // console.log("result",result);
                                    //     var val = data
                                    //     var tmp=tmp1="";
                                    //     if(val.Record.certUpload==null){
                                    //         tmp="";
                                    //         tmp1="";
                                    //         if(val.Record.testDataUpload!=null){
                                    //             tmp=val.Record.testDataUpload.postPersonID;
                                    //             tmp1=val.Record.testDataUpload.postPersonName;
                                    //         }
                                    //         else if(val.Record.trialRunDataUpload!=null){
                                    //             tmp=val.Record.trialRunDataUpload.postPersonID;
                                    //             tmp1=val.Record.trialRunDataUpload.postPersonName;
                                    //         }
                                    //     }
                                    //     else{
                                    //         tmp=val.Record.certUpload.postPersonID;
                                    //         tmp1=val.Record.certUpload.postPersonName;
                                    //     }
                                    //
                                        var xdata ="";
                                        var pID ="";
                                       var pName=""
                                        var pName1=""
                                        var pName2=""
                                        var vobj="";
                                    var type = Cookies.get("unittype")
                                    //
                                    //     var type = Cookies.get("unittype")
                                    //
                                        if(val.testDataUpload!=null && type=="2"){
                                            xdata = JSON.parse(val.testDataUpload.baseData);
                                            // xdata = xdata.unitName;
                                            // pID=tmp;
                                            // pName=tmp1;
                                            vobj = xdata
                                            //xdata = JSON.parse(xdata);
                                            xdata = xdata.unitName;
                                            pID = vobj.postPersonID;
                                            pName = vobj.postPersonName;
                                        }
                                        if(val.trialRunDataUpload!=null && type=="2"){
                                            xdata = JSON.parse(val.trialRunDataUpload.baseData);
                                            vobj = xdata
                                            //xdata = JSON.parse(xdata);
                                            xdata = xdata.unitName;
                                            pID = vobj.postPersonID;
                                            pName = vobj.postPersonName;
                                        }
                                        if(val.certUpload!=null && type=="1"){
                                            xdata = val.certUpload.baseData
                                            vobj = JSON.parse(xdata);
                                            xdata = JSON.parse(xdata);
                                            xdata = xdata.unitName;
                                            pID = vobj.postPersonID;
                                            pName = vobj.postPersonName;
                                        }
                                    //     console.log("postPersionName",pName)
                                    //
                                    //     //console.log(val.Key.split(","))
                                    //     var ddd = "\""+val.Key.split(",")[0]+"\","+val.Key.split(",")[1];
                                    //     var usert=Cookies.get("usertype");
                                        var name = Cookies.get('loginname');
                                        //console.log($.inArray(pName, name))
                                        var sign =0;
                                        console.log("arr",name)
                                        console.log("arrs",nameArr)
                                        for (var i = 0; i < nameArr.length; i++) {
                                            console.log(i)
                                            if(nameArr[i]==pName)
                                            {
                                                sign=1
                                                break
                                            }
                                        }
                                    console.log("sign",sign)

                                        if(sign==1  || name=="admin1" || name=="admin2"  || name=="admin3"){
                                            console.log(data.certUpload)

                                            var uploadbasedata="";
                                            if(data.certUpload!=null){
                                                $("#ban").empty("");
                                                // $("#ban1").empty("");
                                                // $("#ban2").empty("");
                                                var info=data.certUpload.baseData.replace("{","").replace("}","");
                                                obj = JSON.parse(data.certUpload.baseData)
                                                console.log(obj.certificateID);
                                                uploadbasedata=data.certUpload.baseData;

                                                // console.log(info.split(",")[0].split(":")[1].replace("\"","").replace("\"",""))
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>证书编号</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+data.certificateID+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>获证企业单位编号</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+data.unitID+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>获证企业单位名称</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.unitName+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>注册地址</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.registerAddr+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>交易平台名称</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.platformName+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>交易平台版本</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.edition+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>网址</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.website+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>受审核地址</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.auditAddr+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>标准和技术要求</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.authenticationStandard+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>认证模式</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.certificationMode+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>认证级别</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.certificationClass+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>认证结论</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.certificationConclusion+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>颁证日期</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.awardDate+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>换证日期</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.replaceDate+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>有效期至</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.validityTerm+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>认证机构编号</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.certificationID+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>认证机构名称</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.certificationName+"</td></tr>");
                                                $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>提交人</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+obj.postPersonName+"</td></tr>");

                                            }
                                            if(data.testDataUpload!=null){
                                                $("#ban1").empty("");
                                                //$("#ban").empty("");
                                                //$("#ban2").empty("");
                                                var info=data.testDataUpload.baseData.replace("{","").replace("}","");
                                                $("#ban1").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>委托人单位编号</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+data.unitID+"</td></tr>");
                                                $("#ban1").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>委托人单位名称</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[0].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban1").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>交易平台名称</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[1].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban1").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>交易平台版本</td><td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[2].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban1").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>检测机构名称</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[4].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban1").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>检测报告结论</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[5].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban1").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>检测时间</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[6].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban1").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>检测人证件号码</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[7].split(":")[1].replace("\"","").replace("\"","").replace(/^(.{6})(?:\d+)(.{4})$/, "$1********$2")+"</td></tr>");
                                                $("#ban1").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>检测人姓名</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[8].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban1").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>数据上传人证件号码</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[9].split(":")[1].replace("\"","").replace("\"","").replace(/^(.{6})(?:\d+)(.{4})$/, "$1********$2")+"</td></tr>");
                                                $("#ban1").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>数据上传人证件姓名</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[10].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                            }
                                            if(data.trialRunDataUpload!=null){
                                                $("#ban2").empty("");
                                                //$("#ban1").empty("");
                                                //$("#ban").empty("");
                                                var info=data.trialRunDataUpload.baseData.replace("{","").replace("}","");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>证书编号</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+data.certificateID+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>委托人单位编号</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+data.unitID+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>委托人单位名称</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[0].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>交易平台名称</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[1].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>交易平台版本</td><td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[2].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>检测机构编号</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[3].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>检测机构名称</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[4].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>检测报告结论</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[5].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>试运行时间</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[6].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>检测人证件号码</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[7].split(":")[1].replace("\"","").replace("\"","").replace(/^(.{6})(?:\d+)(.{4})$/, "$1********$2")+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>检测人姓名</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[8].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>数据上传人证件号码</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[9].split(":")[1].replace("\"","").replace("\"","").replace(/^(.{6})(?:\d+)(.{4})$/, "$1********$2")+"</td></tr>");
                                                $("#ban2").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>数据上传人证件姓名</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'>"+info.split(",")[10].split(":")[1].replace("\"","").replace("\"","")+"</td></tr>");

                                            }
                                            $.ajax({
                                                //dataType:"json",
                                                type:"post",
                                                url:"queryimg",
                                                contentType: 'application/json',
                                                beforeSend: function(xhr) {
                                                    xhr.setRequestHeader("Authorization", "Bearer "+token);

                                                },
                                                data:uploadbasedata,
                                                crossDomain: true,
                                                eache: false,
                                                success: function (data) {
                                                    $("#ban").append("<tr class='jsgrid-header-row'><td class='jsgrid-cell jsgrid-align-center glay_a' style='width:50px;'>认证证书扫描件</td> <td class='jsgrid-cell jsgrid-align-center' style='width: 150px; text-align:left; padding-left:20px;'><a href='"+data+"'  target='_blank' class='' id='queryimg' >点击查看图片</a></td></tr>");
                                                    console.log(data);
                                                },
                                                error: function (data) {
                                                    console.log("图片加载失败");
                                                    console.log(data);
                                                    return;
                                                }
                                            });
                                        }
                                        else
                                            alert("数据查询不到或您没有权限查询")
                                    ;

                                }

                                else
                                    alert(result.msg)
                            },
                            error: function () {
                                alert("查询有误");

                            }
                        });


					},
					error: function () {
						alert("查询有误");
						return;
					}
					});
					}
			</script>
     
      
   
      
    
    </div>
  </div>
  <!-- ////////////////////////////////////////////////////////////////////////////-->
  <footer class="footer footer-static footer-light navbar-border navbar-shadow">
  <p class="clearfix blue-grey lighten-2 text-sm-center mb-0 px-2"> <span class="float-md-left d-block d-md-inline-block">Copyright &copy; 2019<a class="text-bold-800 grey darken-2" href="index.html"
        target="_blank">中科启信 </a>, All rights reserved. </span> </p>
</footer>
  <!-- BEGIN VENDOR JS-->
  <script src="../vendors/js/vendors.min.js" type="text/javascript"></script>
  <!-- BEGIN VENDOR JS-->
  <!-- BEGIN PAGE VENDOR JS-->
  <script src="../vendors/js/gallery/photo-swipe/photoswipe.min.js"
  type="text/javascript"></script>
  <script src="../vendors/js/gallery/photo-swipe/photoswipe-ui-default.min.js"
  type="text/javascript"></script>
  <!-- END PAGE VENDOR JS-->
  <!-- BEGIN MODERN JS-->
  <script src="../js/core/app-menu.js" type="text/javascript"></script>
  <script src="../js/core/app.js" type="text/javascript"></script>
  <script src="../js/scripts/customizer.js" type="text/javascript"></script>
  <!-- END MODERN JS-->
  <!-- BEGIN PAGE LEVEL JS-->
  <script src="../js/scripts/gallery/photo-swipe/photoswipe-script.js"
  type="text/javascript"></script>
  <!-- END PAGE LEVEL JS-->
  <script src="../js/editHtml.js" type="text/javascript"></script>
</body>
</html>